include ../makefile_variables

all: network.o

network.o: engage.o servent.o packetcache.o net_messages.o peerlist.o
	$(LINK) -o $@ $^
	
peerlist.o: peerlist.c
	$(COMPILEIT)

net_messages.o: net_messages.c
	$(COMPILEIT)

packetcache.o: packetcache.c
	$(COMPILE) $< -o $@

servent.o: servent.c
	$(COMPILE) $< -o $@

engage.o: engage.c
	$(COMPILEIT)

clean:
	rm -f -r *.o
